package com.example.flight.generate;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: leo
 * @date: 2021/7/5
 */
@NoArgsConstructor
@Data
public class TongChengFlight {

    private DataBean data;
    private boolean success;

    @NoArgsConstructor
    @Data
    public static class DataBean {
        private String queryResourceChannel;
        private String flightQueryResultKey;
        private List<FltsBean> flts;

        @NoArgsConstructor
        @Data
        public static class FltsBean {
            private String flightInfoKey;
            private String mileage;
            private String depCode;
            private String arrCode;
            private String airlineCode;
            private String airlineName;
            private String airlineMsName;
            private String fltNo;
            private String equipmentCode;
            private int fltSize;
            private String craftName;
            private int seatNumber;
            private String depTime;
            private String arrTime;
            private boolean isNextDayFlag;
            private String mealFlag;
            private String isShareFlight;
            private String shareFltCode;
            private String depStationName;
            private String depStationCode;
            private String arrStationCode;
            private String arrStationName;
            private String startPortShortName;
            private String endPortShortName;
            private String isStop;
            private String fule;
            private String departureTax;
            private int lowestFare;
            private int lowestFareIndex;
            private String depPortCode;
            private String arrPortCode;
            private int allowBookingLowestFare;
            private int allowLowestFareIndex;
            private double lowestDiscount;
            private String protocolAirCodeType;
            private String protocolPriceType;
            private int econmyLowestFare;
            private int businessLowestFare;
            private String scheduleFlightFlag;
            private String unbookReason;
            private String startCityName;
            private String endCityName;
            private String isAgreeFare;
            private List<String> cabinClassList;
        }
    }
}
